package com.fjd.service;


import com.fjd.dto.FollowDTO;
import com.fjd.dto.IMUserDTO;
import com.fjd.dto.MiniMallCheckDTO;
import com.fjd.dto.MiniMallDeleteDTO;
import com.fjd.entity.Follow;
import com.fjd.entity.LiveBroadcast;
import com.fjd.vo.AttentionVO;
import com.fjd.vo.LiveDataVO;
import com.fjd.vo.MerchandiseVO;
import com.fjd.vo.WatcherInitialVO;

import java.io.IOException;
import java.util.List;

public interface LiveService {
    List<MerchandiseVO> listMinimallByAnchorId(String anchorId);

    Boolean check(MiniMallCheckDTO miniMallCheckDTO);

    void add(MiniMallCheckDTO miniMallCheckDTO);

    void delete(MiniMallDeleteDTO miniMallDeleteDTO);

    Boolean createIMUser(IMUserDTO imUserDTO);

    List<LiveBroadcast> listliveroom();

    WatcherInitialVO enter(String openId);

    void editLiveStatus(String status);

    void follow(FollowDTO followDTO);

    List<AttentionVO> listAttention();

    Follow checkFollow(String toId);


    LiveDataVO getLiveData();
}
